package edu.njust.httpmanager;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@MapperScan("edu.njust.httpmanager.mapper")
@SpringBootApplication
@EnableWebMvc
@EnableTransactionManagement    // 开启事务管理
//@EnableSwagger2     // localhost:8080/swagger-ui.html
public class HttpManagerApplication {

    public static void main(String[] args) {
        SpringApplication.run(HttpManagerApplication.class, args);
    }

}
